import request from "@/utils/request";

// 年龄分段统计
export function listAge() {
  return request({
    url: "/system/resume/statistics/age",
    method: "get",
  });
}

// 教育经历统计
export function listEducation() {
  return request({
    url: "/system/resume/statistics/education",
    method: "get",
  });
}

// 工作经验统计
export function listWorkExperience() {
  return request({
    url: "/system/resume/statistics/workExperience",
    method: "get",
  });
}

// 目标薪水分段统计
export function listTargetSalary() {
  return request({
    url: "/system/resume/statistics/targetSalary",
    method: "get",
  });
}

// 统计简历数
export function countResume() {
  return request({
    url: "/system/resume/statistics/number/resume",
    method: "get",
  });
}

// 统计岗位数
export function countPosition() {
  return request({
    url: "/system/resume/statistics/number/position",
    method: "get",
  });
}

// 统计平均年龄
export function countAge() {
  return request({
    url: "/system/resume/statistics/number/age",
    method: "get",
  });
}

// 统计平均薪资
export function countSalary() {
  return request({
    url: "/system/resume/statistics/number/salary",
    method: "get",
  });
}
